package com.yrk.mapper;

import com.yrk.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserMapper {
    //注册
    int registerUser(User user);
    //登录
    User loginUser(User user);
    //添加
    int addUser(User user);
    //删除
    int deleteUser(User user);
    //查询
    List<User> getUserList();
}
